import request from '@/utils/http'


export const feedbackAPI = ({ email, name, content, isPublic }) =>
  request.post('/feedback', {
    email,
    name,
    content,
    isPublic: isPublic ? 'Y' : 'N'
  })


export const getCountAPI = () => request.get('/feedback/count')